package com.example.ymm.modules1.entity.hl.ex;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * 发行题目
 */

@Data
public class ExPublishQuestion implements Serializable {

    @TableId
    private String publishQuestionId;

    String publishPaperId;

    String publishGroupId;

    String questionId;

    Integer sort;//排序

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;


    /**
     * 以下为 原题目信息
     */
    @TableField(exist = false)
    private String title;

    @TableField(exist = false)
    private String img;

    @TableField(exist = false)
    private List<String> imgArr;


    @TableField(exist = false)
    private String type;// 题目类型: 单选题，多选题,性格与沟通

    @TableField(exist = false)
    List<ExPublishOption> options;


}
